package cn.fuhe.service;

import java.io.IOException;
import java.util.List;
import java.util.Map;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import cn.fuhe.controller.BaseServlet;
import cn.fuhe.dao.CarDao;
@WebServlet("/www")
public class Test extends BaseServlet{
	
	
	@Override
	protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
		CarDao ad = new CarDao();
		List<List<Map<String, Object>>> lst=ad.getTotalCar();
		List<Map<String, Object>> list = lst.get(0);
		System.out.println(lst.get(0));
		System.out.println(1);
	}
	

	
}
